function syncTicketEnter(users)
{
    var contentXpath = '.aui-header-primary ul.aui-nav';
    var issueKeyXpath = '#key-val';
    var syncButtonXpath = '#sync-ticket-button';
    var syncDiv = '<li style="display:flex;align-items: center;">';
        syncDiv += '<button id="sync-ticket-button" class="aui-button aui-button-primary aui-style">Sync</button>';
        syncDiv += '<div id="sync-icon" class="lds-dual-ring" style="display:none;"></div>';
        syncDiv += '</li>';
 //   var cssStyle = ``;
    var syncDiv = '';

    // developer select
    syncDiv += '<li class="sync-ticket-li">';
    syncDiv += '</li>';

    // @todo 
    window.issueKey = jQuery(issueKeyXpath).text();

    jQuery('head').append('<link rel="stylesheet" href="//code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css">');
    jQuery('body').append(cssStyle);
    jQuery(contentXpath).append(syncDiv);
    

    // developer form
    user.init(users);
    jQuery(contentXpath + ' .sync-ticket-li').jsonForm(InitFormSchema());
    jQuery('#developer').autocomplete({
        source: users
      });
    // sync from remote

    try {
        remoteStore.sync();
    } catch (e) {
        console.log(e);
    }
    

}